package cn.retalsystem.service.impl;

import cn.retalsystem.bean.Admin;
import cn.retalsystem.dao.AdminMapper;
import cn.retalsystem.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 官宝星
 * @Date: 2019/10/31 3:05
 * @Version 1.0
 * @描述：管理员业务实现类
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    AdminMapper adminMapper;

    @Override
    public Admin selectAdminByNamePassword(Admin admin) {
        return adminMapper.selectAdminByNamePassword(admin);
    }
}
